# 作业二
import turtle
# 画布
turtle.setup(1000,400)
# 画笔
turtle.pensize(1)
turtle.color('#000')
#位置
turtle.speed(10)
turtle.penup()
turtle.goto(-450,0)
turtle.pendown()
turtle.speed(3)
#三角形
turtle.fillcolor('pink')
turtle.begin_fill()
turtle.seth(-60)
turtle.forward(80)
turtle.seth(60)
turtle.forward(80)
turtle.seth(180)
turtle.forward(80)
turtle.end_fill()

turtle.penup()
turtle.goto(-340,0)
turtle.pendown()
# 菱形
turtle.fillcolor('blue')
turtle.begin_fill()
turtle.seth(-45)
turtle.forward(80)
turtle.seth(45)
turtle.forward(80)
turtle.seth(135)
turtle.forward(80)
turtle.seth(225)
turtle.forward(80)
turtle.end_fill()

turtle.penup()
turtle.goto(-110,-60)
turtle.pendown()
# 五边形
turtle.fillcolor('gold')
turtle.begin_fill()
turtle.seth(36)
turtle.forward(80)
turtle.seth(108)
turtle.forward(80)
turtle.seth(180)
turtle.forward(80)
turtle.seth(252)
turtle.forward(80)
turtle.seth(324)
turtle.forward(80)
turtle.end_fill()

turtle.penup()
turtle.goto(80,-60)
turtle.pendown()

# 六边形
turtle.fillcolor('cyan')
turtle.begin_fill()
turtle.seth(30)
turtle.forward(80)
turtle.seth(90)
turtle.forward(80)
turtle.seth(150)
turtle.forward(80)
turtle.seth(210)
turtle.forward(80)
turtle.seth(270)
turtle.forward(80)
turtle.seth(330)
turtle.forward(80)
turtle.end_fill()

turtle.penup()
turtle.goto(250,-60)
turtle.pendown()

# 圆
turtle.fillcolor('seashell')
turtle.begin_fill()
turtle.circle(50)
turtle.end_fill()

turtle.done()